﻿<%@ Page Title="" Language="C#" MasterPageFile="~/App_MasterPages/PatientMasterPage.master"
    AutoEventWireup="true" CodeFile="ShowToPatient.aspx.cs" Inherits="ShowToPatient" %>

<%@ PreviousPageType VirtualPath="../Default.aspx" %>
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<asp:Content ID="HeaderContent" ContentPlaceHolderID="HeaderContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="MainContent" ContentPlaceHolderID="MainContentPlaceHolder" runat="Server">
    <div id="templatemo_middle_subpage" dir="rtl">
        <h2>
            نتیجه آزمایش</h2>
    </div>
    <div id="templatemo_main" dir="rtl" align="center">
        <div class="col_w900 col_w900_last" dir="rtl">
            <rsweb:ReportViewer ID="TestResultReportViewer" runat="server" Font-Names="Verdana"
                Font-Size="8pt" InteractiveDeviceInfos="(Collection)" WaitMessageFont-Names="Verdana"
                WaitMessageFont-Size="14pt" Width="90%">
                <LocalReport ReportPath="Report\TestResultReport.rdlc">
                    <DataSources>
                        <rsweb:ReportDataSource DataSourceId="TestResultType1ObjectDataSource" Name="TestResultType1ReportDataSet" />
                        <rsweb:ReportDataSource DataSourceId="TestResultType2ObjectDataSource" Name="TestResultType2ReportDataSet" />
                    </DataSources>
                </LocalReport>
            </rsweb:ReportViewer>
        </div>
    </div>
    <asp:ObjectDataSource ID="TestResultType1ObjectDataSource" runat="server" SelectMethod="SelectType1"
        TypeName="TestResultAccess">
        <SelectParameters>
            <asp:Parameter Name="tel" Type="String" />
            <asp:Parameter Name="year" Type="String" />
            <asp:Parameter Name="code" Type="String" />
        </SelectParameters>
    </asp:ObjectDataSource>
    <asp:ObjectDataSource ID="TestResultType2ObjectDataSource" runat="server" SelectMethod="SelectType2"
        TypeName="TestResultAccess">
        <SelectParameters>
            <asp:Parameter Name="tel" Type="String" />
            <asp:Parameter Name="year" Type="String" />
            <asp:Parameter Name="code" Type="String" />
        </SelectParameters>
    </asp:ObjectDataSource>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
</asp:Content>
